<!DOCTYPE html>
<html lang="zh-CN">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>
  <div>
    <p></p>
  </div>

  <script>
    const origin = document.querySelector('p')

    // 父节点
    const parentNode = origin.parentNode
    console.log(parentNode)
  </script>
</body>

</html>